//
//  RPCError.swift
//  Center_Core_Model
//
//  Created by 蒋晨成 on 2021/12/28.
//

import Foundation
import GRPC

public enum RPCError: Swift.Error {
    case serverDataMissing
    case serverDataFormatMismatch
}

extension GRPCStatus: LocalizedError {
    public var errorDescription: String? {
        message
    }
}
